<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<div id="div"></div>
		<button onclick="window.document.getElementById('div').innerHTML='111111'">为div添加文字</button>
		<!--修改自身元素-->
		<button onclick="this.innerHTML=new Date()">现在的时间是</button>

		<script>
			
		</script>
	</body>
</html>